package com.demo.phonerepair.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.phonerepair.pojo.Supplier;

import java.util.Map;

public interface SupplierService extends IService<Supplier> {

    Map<String, Object> getAllSupplierManagement(String searchKeyword, Integer pageNum,
                                                 Integer pageSize, String sortField, String sortOrder);

    boolean createSupplierManagement(Supplier supplier);

    boolean updateSupplierManagement(Supplier supplier);

    boolean deleteSupplierManagement(Integer supplierManagementId, Integer userId, String userPasswd);
}
